.rule-selection-list-container {
  width: 100%;
  max-width: 400px;
  display: flex;
  height: 100%;
  padding: 12px;
  flex-direction: column;
  overflow: auto;
  background-color: transparent;

  .rule-category-title {
    display: flex;
    padding: 4px 0;
    align-items: center;
    gap: 8px;
    overflow: hidden;

    .title {
      flex-shrink: 0;
      text-align: left;
      font-size: var(--requestly-font-size-xs, 11px);
      font-style: normal;
      font-weight: 400;
      line-height: 130%; /* 14.3px */
      color: var(--requestly-color-text-subtle);
    }

    .ant-divider {
      height: 1px;
      background: var(--requestly-color-white-t-20, rgba(255, 255, 255, 0.12));
      overflow: hidden;

      &.ant-divider-horizontal {
        margin: 0;
      }
    }
  }

  .rule-item-container {
    display: block;

    .rule-item {
      width: 100%;
      padding: 12px;
      border-radius: 8px;
      transition: all 0.2s;
      cursor: pointer;
      display: flex;
      flex-wrap: nowrap;
      gap: 8px;

      &:hover {
        background: var(--requestly-color-white-t-10, rgba(255, 255, 255, 0.06));
      }

      .icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        color: var(--requestly-color-text-subtle);
      }

      .details {
        display: flex;
        flex-direction: column;
        gap: 4px;
        overflow: hidden;

        .title {
          font-size: var(--requestly-font-size-sm, 13px);
          font-weight: 500;
          line-height: 150%;
          color: var(--requestly-color-text-default);
        }

        .description {
          height: 14px;
          overflow: hidden;
          color: var(--requestly-color-text-subtle);
          text-overflow: ellipsis;
          white-space: nowrap;

          font-size: var(--requestly-font-size-xs, 11px);
          font-style: normal;
          font-weight: 400;
          line-height: 130%;
          margin: 0;
        }
      }

      .premium-icon-container {
        flex-shrink: 0;
        margin-left: auto;

        .premium-icon {
          padding: 0;
        }
      }
    }
  }
}
